<#-- @ftlvariable name="entity" type="com.xci.edu.core.entity.EduValidateQuestion" -->
<div align="center" >
    <canvas id="canvas" onclick="changetext()"></canvas>
</div>
<input id="qusetName" value="${entity.name}" type="hidden">
<input id="answerName" value="${entity.answer}" type="hidden">
<div class="all_num">
    <button class="btn btn-primary" type="button"
            onclick="answer('${entity.optionA}')">
        ${entity.optionA}
    </button>
    <button class="btn btn-primary" type="button"
            onclick="answer('${entity.optionB}')">
        ${entity.optionB}
    </button>
    <#if '${entity.ifOptionC}'>
        <button class="btn btn-primary" type="button"
                onclick="answer('${entity.optionC}')">
            ${entity.optionC}
        </button>
    </#if>
    <#if '${entity.ifOptionD}'>
        <button class="btn btn-primary" type="button"
                onclick="answer('${entity.optionD}')">
            ${entity.optionD}
        </button>
    </#if>
</div>
